package com.quanyan.user.test;

import java.io.Serializable;

/**
 * Created by zhang on 17/2/20.
 */
public class CreateOldClass implements Serializable{

    private String name;

    private int age;

    private String newName;

    private int newAge;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getNewName() {
        return newName;
    }

    public void setNewName(String newName) {
        this.newName = newName;
    }

    public int getNewAge() {
        return newAge;
    }

    public void setNewAge(int newAge) {
        this.newAge = newAge;
    }

    @Override
    public String toString() {
        return "CreateOldClass{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", newName='" + newName + '\'' +
                ", newAge=" + newAge +
                '}';
    }
}
